<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<div class="pageContent">

	<form onsubmit="return navTabSearch(this);" action="method!userupdate02" method="post">
	<div class="pageFormContent nowrap" layoutH="80">
	
				
				
				
				<c:if test="${empty bean.photo}" var="phflag">
				<div class="unit">
					<span style="float:left;line-height:14px;">上传照片：</span>
					<c:if test="${empty bean.photo}" var="phflag">
						<input class="readonly" name="dwz.attachment.fileName" value="" readonly="readonly" type="text"/>
						<a class="btnAttach" href="method!upload" lookupGroup="attachment" width="560" height="300" title="照片">照片</a>
						<span class="info">(上传照片)</span>
						<input name="dwz.attachment.attachmentPath" value=""  type="hidden" />
					</c:if>
					<!--<input type="text" name="photo" size="30"  value="${emp.photo}" class="required"/>-->
				</div>
			</c:if>
			<c:if test="${!phflag}">
				<div class="unit">
					<span style="float:left;line-height:14px;">现在照片：</span>
					<img src="./uploadfiles/${bean.photo}"/>
				</div>
				<div class="unit">
					<span style="float:left;line-height:14px;">修改照片：</span>
					<input class="readonly" name="dwz.attachment.fileName" value="" readonly="readonly" type="text"/>
					<a class="btnAttach" href="method!upload" lookupGroup="attachment" width="560" height="300" title="照片">照片</a>
					<span class="info">(上传照片)</span>
					<input name="dwz.attachment.attachmentPath" value=""  type="hidden" />
				</div>
			</c:if>
						
						
						
					 <input type="hidden" name="id"  value="${bean.id }"/> 	
						
						

	</div>
<div class="formBar">
      <ul>
            <li>
                 <div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div>
            </li>
            <li>
                  <div class="button"><div class="buttonContent"><button type="Button" class="close">取消</button></div></div>
            </li>
      </ul>
</div>
</form>
</div>

